/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.model;

import javax.swing.DefaultCellEditor;
import javax.swing.JTextField;

/**
 * 说明：会员卡消费Model
 * 
 * @Author：李智深
 * @Date：2012-03-14
 */
public class MemberConsumptionCellEditorTextField extends DefaultCellEditor {

	private static final long serialVersionUID = 1L;

	public MemberConsumptionCellEditorTextField(JTextField textField) {
		super(textField);
	}

	public boolean stopCellEditing() {
//		String value = (String) this.getCellEditorValue();
//		if (value.equals("")) {
//			((JTextField) this.getComponent()).requestFocus();
//			return false;
//		} else
//			return super.stopCellEditing();
		
		return super.stopCellEditing();
	}

}
